<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .outer {
      width: 200px;
      height: 200px;
      border: 1px solid black;
      margin: 100px auto 0;
      position: relative;
    }
    .inner {
      width: 200px;
      height: 200px;
      background-color: red;
      /* 沿着元素自身中心顺时针旋转35度 */
      /* transform: rotateZ(35deg); */
      /* transform: rotate(35deg); */
      rotate: z 35deg;
    }
  </style>
</head>
<body>
  <div class="outer">
    <div class="inner">hello world</div>
  </div>
</body>
</html>
